#ifndef __MACROS_H__
#define __MACROS_H__

#include "Header.h"

#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)

#if CONFIG_PLATFORM==PLATFORM_ANDROID
#	include <android/log.h>
#	define  Log(...)  __android_log_print(ANDROID_LOG_INFO, "NativeLib",__VA_ARGS__)
#elif CONFIG_PLATFORM==PLATFORM_WIN32_VS
#	define  Log(...)  printf(__VA_ARGS__);printf("\n")
#endif

#if CONFIG_PLATFORM==PLATFORM_WIN32_VS
#	define TODO(x) __pragma(message("[TODO]:" __FILE__ "("TOSTRING(__LINE__)")" TOSTRING(x))); Log(x);
#else
#	define TODO(x) ;
#endif

#endif